﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace ExamSystem.Mdeol
{
    public class Tanswer
    {
        private int taId;//否	序号，主键，自增

        public int TaId
        {
            get { return taId; }
            set { taId = value; }
        }
        private Tpager tpId;//否	试卷ID，引用tpager表tpid

        public Tpager TpId
        {
            get { return tpId; }
            set { tpId = value; }
        }
        private Tquestion tqId;//否	试题ID，引用tquestion表tqid

        public Tquestion TqId
        {
            get { return tqId; }
            set { tqId = value; }
        }
        private Tstudent tsId;//否	学生ID，引用tstudent表tsid

        public Tstudent TsId
        {
            get { return tsId; }
            set { tsId = value; }
        }
        private string taAnswer;//否	答案

        public string TaAnswer
        {
            get { return taAnswer; }
            set { taAnswer = value; }
        }
       
        public Tanswer()
        {

        }
        public Tanswer(int taId, Tpager tpId, Tquestion tqId, Tstudent tsId, string taAnswer)
        {
            this.taId = taId;
            this.tpId = tpId;
            this.tqId = tqId;
            this.tsId = tsId;
            this.taAnswer = taAnswer;
        }
    }
}